.class public Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Landroid/widget/TextView;

.field private b:Landroid/widget/ImageView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/view/View;

.field private i:Landroid/widget/TextView;

.field private j:Lcom/waiqin365/lightapp/product/view/CountView;

.field private k:Landroid/view/View;

.field private l:Landroid/widget/LinearLayout;

.field private m:Landroid/widget/TextView;

.field private n:Lcom/waiqin365/lightapp/product/d/f;

.field private o:Lcom/waiqin365/base/db/jxccache/g;

.field private p:Z

.field private q:Z

.field private r:Ljava/lang/String;

.field private s:Ljava/util/List;

.field private t:Ljava/util/List;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->p:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->q:Z

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->s:Ljava/util/List;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private a(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/g;
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->t:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    :goto_0
    return-object v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;Lcom/waiqin365/lightapp/product/d/f;)Lcom/waiqin365/lightapp/product/d/f;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->n:Lcom/waiqin365/lightapp/product/d/f;

    return-object p1
.end method

.method private a()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->n:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->A()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->b(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->f()V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/fiberhome/gaea/client/a/b;->addObserver(Ljava/util/Observer;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->b()V

    return-void
.end method

.method private a(Landroid/widget/ImageView;)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/f;->a(Landroid/content/Context;)Lcom/fiberhome/gaea/client/d/f;

    move-result-object v0

    invoke-virtual {p1}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/fiberhome/gaea/client/d/f;->b(Ljava/lang/String;)Lcom/squareup/picasso/RequestCreator;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/squareup/picasso/RequestCreator;->into(Landroid/widget/ImageView;)V

    return-void
.end method

.method private a(Lcom/waiqin365/lightapp/product/d/f;)V
    .locals 2

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/o;->b()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-virtual {v0, p1, p0, v1}, Lcom/waiqin365/lightapp/product/o;->b(Lcom/waiqin365/lightapp/product/d/f;Landroid/content/Context;Ljava/lang/Class;)V

    :goto_0
    return-void

    :cond_0
    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-virtual {v0, p1, p0, v1}, Lcom/waiqin365/lightapp/product/o;->a(Lcom/waiqin365/lightapp/product/d/f;Landroid/content/Context;Ljava/lang/Class;)V

    goto :goto_0
.end method

.method private a(Z)V
    .locals 2

    const v0, 0x7f0c0949

    if-eqz p1, :cond_0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f080123

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f080122

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;)Lcom/waiqin365/lightapp/product/d/f;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->n:Lcom/waiqin365/lightapp/product/d/f;

    return-object v0
.end method

.method private b()V
    .locals 14

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/o;->b()Ljava/util/List;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->n:Lcom/waiqin365/lightapp/product/d/f;

    invoke-interface {v0, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->c:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->n:Lcom/waiqin365/lightapp/product/d/f;

    invoke-static {v1, v2}, Lcom/waiqin365/lightapp/product/e/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/product/d/f;)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->d()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->n:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/w;->d(Ljava/lang/String;)Ljava/util/List;

    move-result-object v7

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->p:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->h:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->k:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->p:Z

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->k:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->h:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->l:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v0

    if-nez v0, :cond_1

    const-wide/16 v2, 0x0

    :goto_1
    if-eqz v7, :cond_8

    invoke-interface {v7}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_8

    new-instance v10, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v0, -0x1

    const/4 v1, -0x2

    invoke-direct {v10, v0, v1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/4 v0, 0x0

    move v6, v0

    :goto_2
    invoke-interface {v7}, Ljava/util/List;->size()I

    move-result v0

    if-ge v6, v0, :cond_8

    invoke-interface {v7, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/s;

    new-instance v11, Lcom/waiqin365/lightapp/product/view/CountView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->mContext:Landroid/content/Context;

    invoke-direct {v11, v1}, Lcom/waiqin365/lightapp/product/view/CountView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v11}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v1

    const/high16 v4, 0x41700000    # 15.0f

    invoke-virtual {v1, v4}, Landroid/widget/EditText;->setTextSize(F)V

    invoke-virtual {v11}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v1

    const-string/jumbo v4, "#333333"

    invoke-static {v4}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v4

    invoke-virtual {v1, v4}, Landroid/widget/EditText;->setTextColor(I)V

    invoke-virtual {v11}, Lcom/waiqin365/lightapp/product/view/CountView;->b()Landroid/widget/TextView;

    move-result-object v1

    const/high16 v4, 0x41700000    # 15.0f

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setTextSize(F)V

    invoke-virtual {v11}, Lcom/waiqin365/lightapp/product/view/CountView;->b()Landroid/widget/TextView;

    move-result-object v1

    const-string/jumbo v4, "#333333"

    invoke-static {v4}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v4

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setTextColor(I)V

    const/4 v1, 0x0

    invoke-virtual {v11, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->b(Z)V

    const/4 v1, 0x1

    invoke-virtual {v11, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    invoke-virtual {v11, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->setUnit(Lcom/waiqin365/base/db/offlinedata/s;)V

    invoke-interface {v7}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    if-ne v1, v6, :cond_3

    const-wide/16 v0, 0x0

    cmpl-double v0, v2, v0

    if-lez v0, :cond_2

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_3
    invoke-virtual {v11, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    move-wide v8, v2

    :goto_4
    new-instance v0, Lcom/waiqin365/lightapp/product/ai;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/product/ai;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;)V

    invoke-virtual {v11, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->setDataListener(Lcom/waiqin365/lightapp/product/view/e;)V

    new-instance v0, Lcom/waiqin365/lightapp/product/aj;

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->g()D

    move-result-wide v2

    invoke-virtual {v11}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v4

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v5, 0x7f0805c6

    invoke-virtual {p0, v5}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->g()D

    move-result-wide v12

    invoke-virtual {v1, v12, v13}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/lightapp/product/aj;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;DLandroid/widget/EditText;Ljava/lang/String;)V

    invoke-virtual {v11, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Landroid/text/TextWatcher;)V

    if-eqz v6, :cond_5

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->mContext:Landroid/content/Context;

    const/high16 v2, 0x40c00000    # 6.0f

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->mContext:Landroid/content/Context;

    const/high16 v3, 0x40c00000    # 6.0f

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v2

    const/4 v3, 0x0

    invoke-virtual {v10, v0, v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->l:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v11, v10}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    :goto_5
    add-int/lit8 v0, v6, 0x1

    move v6, v0

    move-wide v2, v8

    goto/16 :goto_2

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->h:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->k:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->j:Lcom/waiqin365/lightapp/product/view/CountView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->j:Lcom/waiqin365/lightapp/product/view/CountView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->b(Z)V

    goto/16 :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v2

    goto/16 :goto_1

    :cond_2
    const-string/jumbo v0, ""

    goto/16 :goto_3

    :cond_3
    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/s;->e()Ljava/lang/Double;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v4

    div-double v4, v2, v4

    double-to-int v1, v4

    if-lez v1, :cond_4

    int-to-double v4, v1

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/s;->e()Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v8

    mul-double/2addr v4, v8

    sub-double/2addr v2, v4

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v11, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    :cond_4
    move-wide v8, v2

    goto/16 :goto_4

    :cond_5
    const/4 v0, 0x0

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->mContext:Landroid/content/Context;

    const/high16 v3, 0x40c00000    # 6.0f

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v2

    const/4 v3, 0x0

    invoke-virtual {v10, v0, v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->l:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v11, v10}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_5

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->k:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->h:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->h()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/w;->e(Ljava/lang/String;)Lcom/waiqin365/base/db/offlinedata/s;

    move-result-object v0

    if-nez v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/w;->f(Ljava/lang/String;)Lcom/waiqin365/base/db/offlinedata/s;

    move-result-object v0

    :cond_7
    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->j:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/view/CountView;->d()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->j:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->setUnit(Lcom/waiqin365/base/db/offlinedata/s;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v0

    if-nez v0, :cond_9

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->j:Lcom/waiqin365/lightapp/product/view/CountView;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    :cond_8
    :goto_6
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->c()V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->q:Z

    if-eqz v0, :cond_a

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->e:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->n:Lcom/waiqin365/lightapp/product/d/f;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/f;->e:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->e:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_7
    return-void

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->j:Lcom/waiqin365/lightapp/product/view/CountView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    goto :goto_6

    :cond_a
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->e:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_7
.end method

.method private b(Ljava/lang/String;)V
    .locals 4

    const/4 v2, -0x2

    const/high16 v3, 0x40400000    # 3.0f

    const-string/jumbo v0, ""

    if-eqz p1, :cond_0

    const-string/jumbo v0, ""

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string/jumbo v0, ","

    invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v1, v2, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->mContext:Landroid/content/Context;

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v2

    iput v2, v1, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->mContext:Landroid/content/Context;

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v2

    iput v2, v1, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    array-length v1, v0

    const/4 v2, 0x0

    if-ge v2, v1, :cond_0

    aget-object v0, v0, v2

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->mContext:Landroid/content/Context;

    invoke-virtual {v1, v2, v0}, Lcom/waiqin365/base/login/mainview/a;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->b:Landroid/widget/ImageView;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->b:Landroid/widget/ImageView;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->a(Landroid/widget/ImageView;)V

    :cond_0
    return-void
.end method

.method private c()V
    .locals 5

    const-wide/16 v0, 0x0

    const-string/jumbo v2, "cx_pd_zc_cache"

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->r:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v2

    invoke-static {v2, v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v2

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->n:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->M()Ljava/lang/Double;

    move-result-object v4

    invoke-static {v4, v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v0

    sub-double v0, v2, v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->f:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v3}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v3

    iget-boolean v4, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->p:Z

    invoke-static {v3, v0, v1, v4}, Lcom/waiqin365/lightapp/product/e/b;->a(Ljava/lang/String;DZ)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    :goto_0
    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/db/jxccache/g;->d(Ljava/lang/Double;)V

    return-void

    :cond_1
    const-string/jumbo v2, "cx_pd_th_cache"

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->r:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v2

    invoke-static {v2, v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v2

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->n:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->N()Ljava/lang/Double;

    move-result-object v4

    invoke-static {v4, v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v0

    sub-double v0, v2, v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->f:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v3}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v3

    iget-boolean v4, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->p:Z

    invoke-static {v3, v0, v1, v4}, Lcom/waiqin365/lightapp/product/e/b;->a(Ljava/lang/String;DZ)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_2
    const-string/jumbo v2, "cx_pd_hh_cache"

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->r:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v2

    invoke-static {v2, v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v2

    iget-object v4, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->n:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->O()Ljava/lang/Double;

    move-result-object v4

    invoke-static {v4, v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v0

    sub-double v0, v2, v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->f:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v3}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v3

    iget-boolean v4, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->p:Z

    invoke-static {v3, v0, v1, v4}, Lcom/waiqin365/lightapp/product/e/b;->a(Ljava/lang/String;DZ)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->a()V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->l:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method private d()V
    .locals 4

    const-string/jumbo v0, ""

    const-string/jumbo v1, "cx_pd_zc_cache"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->r:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->j()Z

    move-result v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/product/e/b;->a(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    :cond_0
    :goto_0
    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string/jumbo v0, "0"

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->d:Landroid/widget/TextView;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_4

    const-string/jumbo v0, ""

    :goto_1
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void

    :cond_2
    const-string/jumbo v1, "cx_pd_th_cache"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->r:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->j()Z

    move-result v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/product/e/b;->c(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_3
    const-string/jumbo v1, "cx_pd_hh_cache"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->r:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->j()Z

    move-result v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_4
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const v3, 0x7f080465

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_1
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;)Lcom/waiqin365/base/db/jxccache/g;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    return-object v0
.end method

.method private e()V
    .locals 4

    const v3, 0x7f0c0949

    const/high16 v2, 0x41700000    # 15.0f

    const v0, 0x7f0c0944

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->a:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->a:Landroid/widget/TextView;

    const v1, 0x7f08008c

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c094b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f080122

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string/jumbo v1, "#333333"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    const v0, 0x7f0c0553

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->b:Landroid/widget/ImageView;

    const v0, 0x7f0c08a5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->c:Landroid/widget/TextView;

    const v0, 0x7f0c08a7

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->d:Landroid/widget/TextView;

    const v0, 0x7f0c08a6

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->e:Landroid/widget/TextView;

    const v0, 0x7f0c08bd

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->f:Landroid/widget/TextView;

    const v0, 0x7f0c08ab

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->g:Landroid/widget/TextView;

    const v0, 0x7f0c0697

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->h:Landroid/view/View;

    const v0, 0x7f0c01ee

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->i:Landroid/widget/TextView;

    const v0, 0x7f0c08ad

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/view/CountView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->j:Lcom/waiqin365/lightapp/product/view/CountView;

    const v0, 0x7f0c096b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->k:Landroid/view/View;

    const v0, 0x7f0c096d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->l:Landroid/widget/LinearLayout;

    const v0, 0x7f0c096c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->m:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->i:Landroid/widget/TextView;

    const-string/jumbo v1, "#808080"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->i:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->m:Landroid/widget/TextView;

    const-string/jumbo v1, "#808080"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->m:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->j:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/EditText;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->j:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v0

    const-string/jumbo v1, "#333333"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->j:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->b()Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->j:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/view/CountView;->b()Landroid/widget/TextView;

    move-result-object v0

    const-string/jumbo v1, "#333333"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    return-void
.end method

.method private f()V
    .locals 8

    const v0, 0x7f0c0942

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0949

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->g:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->j:Lcom/waiqin365/lightapp/product/view/CountView;

    new-instance v1, Lcom/waiqin365/lightapp/product/ak;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/ak;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/view/CountView;->setDataListener(Lcom/waiqin365/lightapp/product/view/e;)V

    new-instance v0, Lcom/waiqin365/lightapp/product/al;

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->g()D

    move-result-wide v2

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->j:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/view/CountView;->a()Landroid/widget/EditText;

    move-result-object v4

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v5, 0x7f0805c6

    invoke-virtual {p0, v5}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->g()D

    move-result-wide v6

    invoke-virtual {v1, v6, v7}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/lightapp/product/al;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;DLandroid/widget/EditText;Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->j:Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Landroid/text/TextWatcher;)V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->c()V

    return-void
.end method

.method private g()V
    .locals 6

    const/4 v0, 0x0

    const-wide/16 v4, 0x0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v1

    invoke-static {v1, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v2

    cmpg-double v1, v2, v4

    if-gez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->mContext:Landroid/content/Context;

    const v2, 0x7f0805cd

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    :goto_0
    return-void

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v1

    invoke-direct {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->a(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v1

    if-eqz v1, :cond_2

    move v1, v0

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->t:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->t:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->t:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->t:Ljava/util/List;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-interface {v0, v1, v2}, Ljava/util/List;->add(ILjava/lang/Object;)V

    :cond_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->t:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_3
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->h()V

    goto :goto_0
.end method

.method private h()V
    .locals 4

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->q:Z

    if-eqz v0, :cond_0

    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v2, "selectedList"

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->t:Ljava/util/List;

    check-cast v0, Ljava/io/Serializable;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/4 v0, -0x1

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->finish()V

    :goto_0
    return-void

    :cond_0
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "key"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->t:Ljava/util/List;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    const-class v2, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v2

    const-string/jumbo v3, "has_data"

    invoke-virtual {v2, v3, v0, v1}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/util/List;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->back()V

    goto :goto_0
.end method

.method private i()V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/product/ProductDetailFullViewActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "pdCache"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "pdId"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->startActivity(Landroid/content/Intent;)V

    return-void
.end method


# virtual methods
.method public hasData(Lcom/fiberhome/gaea/client/a/c;)V
    .locals 2

    if-eqz p1, :cond_0

    iget-object v0, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    if-eqz v0, :cond_0

    const-string/jumbo v0, "addSuccess"

    iget-object v1, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x1

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->a(Z)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    const-string/jumbo v0, "delSuccess"

    iget-object v1, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->a(Z)V

    goto :goto_0
.end method

.method public onBackPressed()V
    .locals 0

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onBackPressed()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->finish()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->n:Lcom/waiqin365/lightapp/product/d/f;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->a(Lcom/waiqin365/lightapp/product/d/f;)V

    goto :goto_0

    :sswitch_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->g()V

    goto :goto_0

    :sswitch_3
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->i()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0552 -> :sswitch_3
        0x7f0c08ab -> :sswitch_2
        0x7f0c0942 -> :sswitch_0
        0x7f0c0949 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 4

    const/4 v3, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f030197

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isJT"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->p:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isModify"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->q:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "pdCache"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "function"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->r:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "selectedList"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "selectedList"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->t:Ljava/util/List;

    :goto_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->e()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->a(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v0

    if-eqz v0, :cond_0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    :cond_0
    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->g:Landroid/widget/TextView;

    const v1, 0x7f080716

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_1
    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->o:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/w;->b(Ljava/lang/String;)Lcom/waiqin365/lightapp/product/d/f;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->n:Lcom/waiqin365/lightapp/product/d/f;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->n:Lcom/waiqin365/lightapp/product/d/f;

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->mContext:Landroid/content/Context;

    const/4 v1, 0x1

    new-instance v2, Lcom/waiqin365/lightapp/product/ah;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/product/ah;-><init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;)V

    invoke-static {v0, v1, v3, v2}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;ZZLcom/waiqin365/lightapp/kehu/c/l;)V

    :goto_1
    return-void

    :cond_2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->t:Ljava/util/List;

    goto :goto_0

    :cond_3
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;->a()V

    goto :goto_1
.end method
